From: Michael Catanzaro Date: Mon, 23 Nov 2015 23:21:49 +0000 (-0600) Subject: loginDialog: Fix TypeError when user is deleted X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1052 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e1e08f0a684281ba4df35d9ce5bc92f0510fd188;p=gnome-shell.git loginDialog: Fix TypeError when user is deleted LoginDialog has a private _user, but UserListItem has a public user. Easy to get wrong since _user would be the right thing to type in 90% of this file. --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index b400d7982..4150649ab 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -96,7 +96,7 @@ const UserListItem = new Lang.Class({ }, _onDestroy: function() { - this._user.disconnect(this._userChangedId); + this.user.disconnect(this._userChangedId); }, _onClicked: function() {